using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using quanlynhasach.HeThongBaoCao;
using quanlynhasach.HeThongLuuTru;

namespace quanlynhasach.HeThongGiaoDien
{
    public partial class frmBaoCaoTon : Form
    {
        public frmBaoCaoTon()
        {
            InitializeComponent();
        }

       

        private void btnbaocao_Click(object sender, EventArgs e)
        {
            frmBaoCaoSach frm = new frmBaoCaoSach();
            rptBaoCaoSach rpt = new rptBaoCaoSach();
            rpt.SetDataSource(SachDAO.GetSachCondition(int.Parse(txtSoLuongTon.Text)));
            frm.ViewerBaoCaoSach.ReportSource = rpt;
            frm.Show();
        }

        
    }
}